home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / medical / mendelge.cpt / MendelGenetics / MENDELIAN GENETICS I / card_50070.txt < prev    next >
Text File  |  1989-06-13  |  10KB  |  358 lines

  1. -- card: 50070 from stack: in
  2. -- bmap block id: 103998
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0002
  11. -- rect: left=262 top=22 right=43 bottom=319
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: F1
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 00
  24. -- high flags: 0002
  25. -- rect: left=262 top=47 right=68 bottom=319
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 3
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: F2
  34.  
  35.  
  36. -- part 3 (field)
  37. -- low flags: 00
  38. -- high flags: 0002
  39. -- rect: left=262 top=72 right=93 bottom=319
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 0
  43. -- font id: 3
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: F3
  48.  
  49.  
  50. -- part 4 (field)
  51. -- low flags: 00
  52. -- high flags: 0002
  53. -- rect: left=262 top=97 right=118 bottom=319
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 0 / 0
  56. -- text alignment: 0
  57. -- font id: 3
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: F4
  62.  
  63.  
  64. -- part 5 (field)
  65. -- low flags: 00
  66. -- high flags: 0002
  67. -- rect: left=261 top=121 right=142 bottom=318
  68. -- title width / last selected line: 0
  69. -- icon id / first selected line: 0 / 0
  70. -- text alignment: 0
  71. -- font id: 3
  72. -- text size: 12
  73. -- style flags: 0
  74. -- line height: 16
  75. -- part name: F5
  76.  
  77.  
  78. -- part 6 (field)
  79. -- low flags: 00
  80. -- high flags: 0002
  81. -- rect: left=261 top=145 right=166 bottom=318
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 0 / 0
  84. -- text alignment: 0
  85. -- font id: 3
  86. -- text size: 12
  87. -- style flags: 0
  88. -- line height: 16
  89. -- part name: F6
  90.  
  91.  
  92. -- part 7 (field)
  93. -- low flags: 00
  94. -- high flags: 0002
  95. -- rect: left=261 top=170 right=191 bottom=318
  96. -- title width / last selected line: 0
  97. -- icon id / first selected line: 0 / 0
  98. -- text alignment: 0
  99. -- font id: 3
  100. -- text size: 12
  101. -- style flags: 0
  102. -- line height: 16
  103. -- part name: F7
  104.  
  105.  
  106. -- part 8 (field)
  107. -- low flags: 00
  108. -- high flags: 0002
  109. -- rect: left=261 top=194 right=215 bottom=318
  110. -- title width / last selected line: 0
  111. -- icon id / first selected line: 0 / 0
  112. -- text alignment: 0
  113. -- font id: 3
  114. -- text size: 12
  115. -- style flags: 0
  116. -- line height: 16
  117. -- part name: F8
  118.  
  119.  
  120. -- part 9 (button)
  121. -- low flags: 00
  122. -- high flags: 8003
  123. -- rect: left=408 top=215 right=237 bottom=508
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 0 / 0
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: ACTIVATE
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   global it
  135.   hide card field "coverone"
  136.   show card field "cover"
  137.   repeat 457 times
  138.     put random of 100 into it
  139.     if it<=34 then
  140.       add 1 to card field F1
  141.     end if
  142.     if it >=35 and it <=73 then
  143.       add 1 to card field F2
  144.     end if
  145.     if it = 74 then
  146.       add 1 to card field F3
  147.     end if
  148.     if it = 75 then
  149.       add 1 to card field F4
  150.     end if
  151.     if it >= 76 and it <= 86 then
  152.       add 1 to card field F5
  153.     end if
  154.     if it >= 87 and it <= 98 then
  155.       add 1 to card field F6
  156.     end if
  157.     if it = 99 then
  158.       add 1 to card field F1
  159.     end if
  160.     if it = 100 then
  161.       add 1 to card field F2
  162.     end if
  163.   end repeat
  164.   put 1 into card field F8
  165.   play "boing"
  166.   hide card field "cover"
  167.   show card field "coverone"
  168. end mouseUp
  169.  
  170.  
  171.  
  172. -- part 11 (button)
  173. -- low flags: 00
  174. -- high flags: 8003
  175. -- rect: left=410 top=268 right=290 bottom=510
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 0 / 0
  178. -- text alignment: 1
  179. -- font id: 0
  180. -- text size: 12
  181. -- style flags: 0
  182. -- line height: 16
  183. -- part name: CLEAR ALL
  184. ----- HyperTalk script -----
  185. on mouseUp
  186.   show card field "cover"
  187.   delete line 1 of card field F1
  188.   delete line 1 of card field F2
  189.   delete line 1 of card field F3
  190.   delete line 1 of card field F4
  191.   delete line 1 of card field F5
  192.   delete line 1 of card field F6
  193.   delete line 1 of card field F7
  194.   delete line 1 of card field F8
  195.   delete line 1 of card field F9
  196.   delete line 1 of card field f10
  197.   delete line 1 of card field f11
  198. end mouseUp
  199.  
  200.  
  201.  
  202. -- part 12 (button)
  203. -- low flags: 00
  204. -- high flags: 8003
  205. -- rect: left=410 top=241 right=263 bottom=510
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 1
  209. -- font id: 0
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: ANALYZE
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   put (card field F1 + card field F2 + card field F3 + card field F4 + card field F5 + card field F6 + card field F8) into card field F9
  217.   set the numberFormat to "00.00"
  218.   put ((card field F3 + card field F4) / card field F9) * 100 into card field F10
  219.   put ((card field F5 + card field F6)/ card field F9) * 100 into card field F11
  220. end mouseUp
  221.  
  222.  
  223.  
  224. -- part 13 (field)
  225. -- low flags: 00
  226. -- high flags: 0002
  227. -- rect: left=261 top=219 right=240 bottom=318
  228. -- title width / last selected line: 0
  229. -- icon id / first selected line: 0 / 0
  230. -- text alignment: 0
  231. -- font id: 3
  232. -- text size: 12
  233. -- style flags: 0
  234. -- line height: 16
  235. -- part name: F9
  236.  
  237.  
  238. -- part 14 (field)
  239. -- low flags: 00
  240. -- high flags: 0002
  241. -- rect: left=261 top=248 right=269 bottom=318
  242. -- title width / last selected line: 0
  243. -- icon id / first selected line: 0 / 0
  244. -- text alignment: 0
  245. -- font id: 3
  246. -- text size: 12
  247. -- style flags: 0
  248. -- line height: 16
  249. -- part name: F10
  250.  
  251.  
  252. -- part 15 (field)
  253. -- low flags: 00
  254. -- high flags: 0002
  255. -- rect: left=261 top=281 right=302 bottom=318
  256. -- title width / last selected line: 0
  257. -- icon id / first selected line: 0 / 0
  258. -- text alignment: 0
  259. -- font id: 3
  260. -- text size: 12
  261. -- style flags: 0
  262. -- line height: 16
  263. -- part name: F11
  264.  
  265.  
  266. -- part 17 (field)
  267. -- low flags: 00
  268. -- high flags: 0001
  269. -- rect: left=415 top=304 right=333 bottom=505
  270. -- title width / last selected line: 0
  271. -- icon id / first selected line: 0 / 0
  272. -- text alignment: 0
  273. -- font id: 3
  274. -- text size: 12
  275. -- style flags: 0
  276. -- line height: 16
  277. -- part name: cover
  278.  
  279.  
  280. -- part 18 (button)
  281. -- low flags: 00
  282. -- high flags: 8003
  283. -- rect: left=205 top=315 right=337 bottom=256
  284. -- title width / last selected line: 0
  285. -- icon id / first selected line: 0 / 0
  286. -- text alignment: 1
  287. -- font id: 0
  288. -- text size: 12
  289. -- style flags: 0
  290. -- line height: 16
  291. -- part name: NEXT
  292. ----- HyperTalk script -----
  293. on mouseUp
  294.   go to next card
  295. end mouseUp
  296.  
  297.  
  298.  
  299. -- part 19 (button)
  300. -- low flags: 00
  301. -- high flags: 8003
  302. -- rect: left=149 top=314 right=337 bottom=199
  303. -- title width / last selected line: 0
  304. -- icon id / first selected line: 0 / 0
  305. -- text alignment: 1
  306. -- font id: 0
  307. -- text size: 12
  308. -- style flags: 0
  309. -- line height: 16
  310. -- part name: PREV.
  311. ----- HyperTalk script -----
  312. on mouseUp
  313.   go back
  314. end mouseUp
  315.  
  316.  
  317.  
  318. -- part 20 (field)
  319. -- low flags: 00
  320. -- high flags: 0001
  321. -- rect: left=285 top=312 right=334 bottom=377
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 0 / 0
  324. -- text alignment: 0
  325. -- font id: 3
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: coverone
  330.  
  331.  
  332. -- part contents for background part 1
  333. ----- text -----
  334. GENE MAPPING
  335.  
  336. -- part contents for background part 2
  337. ----- text -----
  338. On the right you will see a typical, three-point mapping exercise using the material discussed in the previous card. Click on the ACTIVATE button and let the program run to completion. It will take around 4  minutes to run the program. When 
  339. "DONE" appears in the lower right hand corner you can analyze your data. Note that the parental classes are represented with the largest number of progeny [ either wild or
  340. (+) for all of the recessives in question or homozygous for all three recessives]. In addition to these classes, there are additional phenotypes that represent crossover classes. When counting from the top, boxes 3 and 4 represent crossing over between [ colorless and (shrunken, waxy)]. Boxes 5 and 6 represent crossovers between [ waxy and 
  341. (colorless, shrunken)]. The lowest frequency of crossing over occurs between [shrunken and (colorless, waxy)]. Generally the very low frequencies of crossing over occur in the double crossover classes. We can consider boxes 7 & 8 then to be such classes. Generally the values contained in the double crossover classes are too small to affect the overall calculation of gene loci. However, in very careful work, they must be considered. Since it is a double crossover class, then that data must be added to each of the single crossover glasses in the upper boxes. If you have not already done so, click on the ANALYZE button and let the program determine the percent of crossing over between the genes in question. Ok, now you can continue with the mapping exercise.
  342.  
  343. The calculated percentages of crossing over between [ colorless 
  344. (shrunken, waxy)] depicted as 
  345. {c/wx,ch} and between [waxy 
  346. (colorless, shrunken)] depicted as 
  347. {wx/c,sh} can be taken as the percentage of the chromosome length separating these genes. However the exact arrangement is not quite certain. It could be one of two possibilities.
  348.  
  349. 1. wx_________________c__sh     or
  350. 2. wx_________________sh__c
  351.  
  352. If option #1 were the true arrangement of the genes on the chromosome, then for colorless to separate from waxy and shrunken, a double crossover event would have to occur. However a glance at the data on the right shows a double crossover class involving the separation of shrunken from colorless, waxy. This rare event occurred much less often than the separation of colorless from the shrunken, waxy genes. Hence the actual arrangement of the genes  along the length of the chromosome is shown by option #2. Note that it is possible to activate the program several times to get a better "fix" on the actual distances separating the loci. To do this, do not clear the data from the boxes when you activate the program a second time.
  353.  
  354.  
  355.  
  356. -- part contents for background part 8
  357. ----- text -----
  358. 135